package dbexp.filter;

import java.io.IOException;
import java.util.zip.GZIPOutputStream;

import javax.servlet.ServletOutputStream;

/**
 * @author Michał Skrzyński
 * @email michal_skrzynski@o2.pl
 */
public class GzipOS extends ServletOutputStream {
	GZIPOutputStream instance;

	public GzipOS(ServletOutputStream sos) throws IOException {
		this.instance = new GZIPOutputStream(sos);
	}

	public void write(int param) throws IOException {
		instance.write(param);
	}
}
